<h2>申请理由</h2>
<table>
 
    <tr>
        <td>类型</td>
        <td>
        	{switch name="refund.refund_type"}
				{case value="1"}退款{/case}
				{case value="2"}退款退货{/case}
			{/switch}
        </td>
    </tr>
    <tr>
        <td>备注</td>
        <td>
        	{$refund.refund_title}
        </td>
    </tr>
    <tr>
        <td>原因</td>
        <td>
        	{$refund.reason_info}，{$refund.buyer_message}
        </td>
    </tr>
    
    <tr>
        <td>申请退款金额</td>
        <td>
        	{$refund.refund_amount}
        </td>
    </tr>
    
    <?php if(!empty($refund['pic_info'])){ ?>
    <?php $image=explode('|',$refund['pic_info']); ?>        
    <tr>
    	<td>图片凭证</td>
    	<td> 		
    		<?php foreach($image as $k=>$v){ ?>
    			<a target="_blank" href="/public/uploads/{$v}"><img src="IMG_ROOT{$v|resize=150,150}" /></a>
    		<?php } ?>
    	</td>
    </tr>        
    <?php } ?>    
    
    {if condition="!empty($refund['express_name'])"}
	    <tr>
	        <td>退货物流公司</td>
	        <td>
	        	{$refund.express_name}
	        </td>
	    </tr>
	    <tr>
	        <td>退货物流单号</td>
	        <td>
	        	{$refund.invoice_no}
	        </td>
	    </tr>
    {/if}    
    <tr>
        <td>状态</td>
        <td>
        	{switch name="refund.status"}
				{case value="1"}待处理{/case}
				{case value="2"}<span style="color:green;">{$refund.admin_message}</span>{/case}
				{case value="3"}<span style="color:red;">{$refund.admin_message}</span>{/case}
			{/switch}
        </td>
    </tr>
</table>